import parse from './parse';

// vue底层vue-loader是用字符串去识别template的
var templateString = `<div>
    <h3 class="box aa" id="mybox" data-n="7">你好</h3>
    <ul>
      <li>A</li>
      <li>B</li>
      <li>C</li>
    </ul>
  </div>`
const ast = parse(templateString)
console.log('AST',ast)
/* 
  手写抽象语法树代码
    运用指针和栈的思路
*/
